const state = {
    token: ''
}
  
const mutations = {
    SAVE_TOKEN: (state, token) => {
        state.token.push(token)
    }
}
  
const actions = {
    saveToken({ commit }, token) {
      commit('SAVE_TOKEN', token)
    }
}
  
export default {
    namespaced: true,
    state,
    mutations,
    actions
}
  